<!DOCTYPE html>
<!-- saved from url=(0056)http://startbootstrap.com/templates/simple-sidebar.html# -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Panel</title>
<script src="<?php echo base_url();?>js/chart.js"></script>
<?php $this->load->view('panel_head');?>
</head>

<body>
<div style="height:46px; width:100%; position:fixed; z-index:10000;">
  <?php $this->load->view('header');?>
</div>
<div style="height:46px;"></div>

<!-- <div content at here>-->

<?php echo form_open('authen/login');?>

<div class="page-content inset">
      <div class="panel panel-default">
        <div class="panel-body">
         <h1 style="margin-bottom:1em;" align="center"><span class="glyphicon glyphicon-lock"></span>&nbsp;Login</h1>
          <div class="row" style="margin-bottom:1.5em;" align="center">
        	  <div class="col-md-4">
            </div>
            <div class="col-md-1">
              <h5><strong>Username</strong></h5>
            </div>
            <!-- <div class="col-md-4"> -->
            <div class="col-md-2">
              <input type="text" class="form-control" style="width:15em;" name="mem_name" placeholder="username" required>
            </div>
            <!-- <div class="col-md-8"> -->
             <div class="col-md-5">
            </div> 
          </div>
          
                 <div class="row" style="margin-bottom:1em;" align="center">
        	  <div class="col-md-4">
            </div>
            <div class="col-md-1">
              <h5><strong>Password</strong></h5>
            </div>
            <!-- <div class="col-md-4"> -->
            <div class="col-md-2">
              <input type="password" class="form-control" style="width:15em;" name="mem_pass" placeholder="password" required>
              <?php if($this->uri->segment(3) == 'error') { ?>
             	 <div><font color="#ff0000">The user name or password incorrect.</font></div>            
              <?php } ?>       
            </div>
            
            <!-- <div class="col-md-8"> -->
             <div class="col-md-5">
            </div> 
          </div>         
         
    
           <div class="row">
            <div class="col-md-12" align="center">
              &nbsp;<button type="submit" class="btn btn-primary">Login</button>
            &nbsp;
            <a href="<?php echo base_url();?>index.php/register"><button type="button" class="btn btn-primary">Register	</button></a>
            
   
            </div>
            	
            </div>
            
            
             
          <div class="row" align="center">
        	  <div class="col-md-12">
              <a href="<?php echo base_url();?>index.php/forgot">Forgot Password</a>
            </div> 
          </div>
          
            <!-- <div class="col-md-4"> -->
           
            <!-- <div class="col-md-8"> --> 
          </div>
          <!-- <div class="row"> -->
          
          
        </div>
        <!-- <div class="panel-body"> --> 
      </div>
      <!-- <div class="panel panel-default"> --> 
    </div>
<?php echo form_close(); ?>
<!-- </div dontent at here>--> 

<!-- Custom JavaScript for the Menu Toggle --> 
<script>
    $("#menu-toggle").click(function(e) {
        e.preventDefault();
        $("#wrapper").toggleClass("active");
    });
</script>
</body>
</html>